/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.taobao.ibatiside.model.configv2;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Transaction Manager Type</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.taobao.ibatiside.model.configv2.TransactionManagerType#getProperty <em>Property</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.configv2.TransactionManagerType#getDataSource <em>Data Source</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.configv2.TransactionManagerType#isCommitRequired <em>Commit Required</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.configv2.TransactionManagerType#getType <em>Type</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.taobao.ibatiside.model.configv2.Configv2Package#getTransactionManagerType()
 * @model extendedMetaData="name='transactionManager_._type' kind='elementOnly'"
 * @generated
 */
public interface TransactionManagerType extends EObject {
	/**
	 * Returns the value of the '<em><b>Property</b></em>' containment reference list.
	 * The list contents are of type {@link org.taobao.ibatiside.model.configv2.PropertyType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Property</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Property</em>' containment reference list.
	 * @see org.taobao.ibatiside.model.configv2.Configv2Package#getTransactionManagerType_Property()
	 * @model containment="true"
	 *        extendedMetaData="kind='element' name='property' namespace='##targetNamespace'"
	 * @generated
	 */
	EList<PropertyType> getProperty();

	/**
	 * Returns the value of the '<em><b>Data Source</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Data Source</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data Source</em>' containment reference.
	 * @see #setDataSource(DataSourceType)
	 * @see org.taobao.ibatiside.model.configv2.Configv2Package#getTransactionManagerType_DataSource()
	 * @model containment="true" required="true"
	 *        extendedMetaData="kind='element' name='dataSource' namespace='##targetNamespace'"
	 * @generated
	 */
	DataSourceType getDataSource();

	/**
	 * Sets the value of the '{@link org.taobao.ibatiside.model.configv2.TransactionManagerType#getDataSource <em>Data Source</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Data Source</em>' containment reference.
	 * @see #getDataSource()
	 * @generated
	 */
	void setDataSource(DataSourceType value);

	/**
	 * Returns the value of the '<em><b>Commit Required</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Commit Required</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Commit Required</em>' attribute.
	 * @see #isSetCommitRequired()
	 * @see #unsetCommitRequired()
	 * @see #setCommitRequired(boolean)
	 * @see org.taobao.ibatiside.model.configv2.Configv2Package#getTransactionManagerType_CommitRequired()
	 * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
	 *        extendedMetaData="kind='attribute' name='commitRequired' namespace='##targetNamespace'"
	 * @generated
	 */
	boolean isCommitRequired();

	/**
	 * Sets the value of the '{@link org.taobao.ibatiside.model.configv2.TransactionManagerType#isCommitRequired <em>Commit Required</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Commit Required</em>' attribute.
	 * @see #isSetCommitRequired()
	 * @see #unsetCommitRequired()
	 * @see #isCommitRequired()
	 * @generated
	 */
	void setCommitRequired(boolean value);

	/**
	 * Unsets the value of the '{@link org.taobao.ibatiside.model.configv2.TransactionManagerType#isCommitRequired <em>Commit Required</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #isSetCommitRequired()
	 * @see #isCommitRequired()
	 * @see #setCommitRequired(boolean)
	 * @generated
	 */
	void unsetCommitRequired();

	/**
	 * Returns whether the value of the '{@link org.taobao.ibatiside.model.configv2.TransactionManagerType#isCommitRequired <em>Commit Required</em>}' attribute is set.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return whether the value of the '<em>Commit Required</em>' attribute is set.
	 * @see #unsetCommitRequired()
	 * @see #isCommitRequired()
	 * @see #setCommitRequired(boolean)
	 * @generated
	 */
	boolean isSetCommitRequired();

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see #setType(Object)
	 * @see org.taobao.ibatiside.model.configv2.Configv2Package#getTransactionManagerType_Type()
	 * @model dataType="org.eclipse.emf.ecore.xml.type.AnySimpleType" required="true"
	 *        extendedMetaData="kind='attribute' name='type' namespace='##targetNamespace'"
	 * @generated
	 */
	Object getType();

	/**
	 * Sets the value of the '{@link org.taobao.ibatiside.model.configv2.TransactionManagerType#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see #getType()
	 * @generated
	 */
	void setType(Object value);

} // TransactionManagerType
